//
//  CLscanViewController.m
//  I-want-go
//
//  Created by dllo on 15/11/9.
//  Copyright © 2015年 lanou3g. All rights reserved.
//

#import "CLscanViewController.h"

@interface CLscanViewController ()

@end

@implementation CLscanViewController

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    self.view.backgroundColor = [UIColor blueColor];
    
//    [self create];
 }

//- (void)create {
//    
//    ZBarReaderViewController *reader = [ZBarReaderViewController new];
//    reader.readerDelegate = self;
//    ZBarImageScanner *scanner = reader.scanner;
//    [scanner setSymbology:ZBAR_I25 config:ZBAR_CFG_ENABLE to:0];
//    reader.showsZBarControls = YES;
//    [self presentViewController:reader animated:YES completion:nil];
//    
//}
//
//- (void)imagePickerController:(UIImagePickerController *)picker didFinishPickingMediaWithInfo:(NSDictionary<NSString *,id> *)info {
//    id<NSFastEnumeration> results = [info objectForKey:ZBarReaderControllerResults];
//    
//    ZBarSymbol *symbol;
//    for (symbol in results)
//        break;
//    
//    self.myImage.image = [info objectForKey:UIImagePickerControllerOriginalImage];
//    [picker dismissViewControllerAnimated:YES completion:nil];
//    self.myLabel.text = symbol.data;
// 
//}








- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
